package com.jitu.bigscreen.model;

/**
 * 文本区域对象
 *
 * @author wangwl at 20190411
 */
public class TextArea {

    //id Int 区域 id(节目文件中,区域 ID 唯一)
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getBorderEffect() {
        return borderEffect;
    }

    public void setBorderEffect(int borderEffect) {
        this.borderEffect = borderEffect;
    }

    public int getBorderSW() {
        return borderSW;
    }

    public void setBorderSW(int borderSW) {
        this.borderSW = borderSW;
    }

    public int getBorderSpeed() {
        return borderSpeed;
    }

    public void setBorderSpeed(int borderSpeed) {
        this.borderSpeed = borderSpeed;
    }

    public int getBorderType() {
        return borderType;
    }

    public void setBorderType(int borderType) {
        this.borderType = borderType;
    }

    public int getLeft() {
        return left;
    }

    public void setLeft(int left) {
        this.left = left;
    }

    public int getTop() {
        return top;
    }

    public void setTop(int top) {
        this.top = top;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public void setFontSize(int fontSize) {
        this.fontSize = fontSize;
    }

    public int getItalic() {
        return italic;
    }

    public void setItalic(int italic) {
        this.italic = italic;
    }

    public int getBold() {
        return bold;
    }

    public void setBold(int bold) {
        this.bold = bold;
    }

    public int getTextLine() {
        return textLine;
    }

    public void setTextLine(int textLine) {
        this.textLine = textLine;
    }

    public int getLineHeight() {
        return lineHeight;
    }

    public void setLineHeight(int lineHeight) {
        this.lineHeight = lineHeight;
    }

    public int getPauseTime() {
        return pauseTime;
    }

    public void setPauseTime(int pauseTime) {
        this.pauseTime = pauseTime;
    }

    public int getScrollSpeed() {
        return scrollSpeed;
    }

    public void setScrollSpeed(int scrollSpeed) {
        this.scrollSpeed = scrollSpeed;
    }

    public int getSiderType() {
        return siderType;
    }

    public void setSiderType(int siderType) {
        this.siderType = siderType;
    }

    public int getTextAlign() {
        return textAlign;
    }

    public void setTextAlign(int textAlign) {
        this.textAlign = textAlign;
    }

    public int getTextShow() {
        return textShow;
    }

    public void setTextShow(int textShow) {
        this.textShow = textShow;
    }

    public int getzIndex() {
        return zIndex;
    }

    public void setzIndex(int zIndex) {
        this.zIndex = zIndex;
    }

    public String getBackground() {
        return background;
    }

    public void setBackground(String background) {
        this.background = background;
    }

    public String getFontColor() {
        return fontColor;
    }

    public void setFontColor(String fontColor) {
        this.fontColor = fontColor;
    }

    public String getFontFamily() {
        return fontFamily;
    }

    public void setFontFamily(String fontFamily) {
        this.fontFamily = fontFamily;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public int getFontSize() {
        return fontSize;
    }

    public int getColorEffect() {
        return colorEffect;
    }

    public void setColorEffect(int colorEffect) {
        this.colorEffect = colorEffect;
    }

    private int id;
    //type Int 区域素材类型，字幕对应的类型为:2
    private int type;
    //borderEffect Int 区域边框特效 0:静止 1:旋转 2:闪烁
    private int borderEffect;
    //borderSW Int 区域边框开关 1:开 0:关
    private int borderSW;
    //borderSpeed int 区域边框速度 0~4
    private int borderSpeed;
    //borderType Int 区域边框类型 0~9 详见附录
    private int borderType;
    //left Int 区域 x 坐标点
    private int left;
    //top Int 区域 y 坐标点
    private int top;
    //width Int 区域宽度
    private int width;
    //height Int 区域高度
    private int height;
    //background String 背景颜色,如:”#000000”,16 进制的 RRGGBB
    private String background;
    //fontColor String 文字颜色, 如:”#ffffff”,16 进制的 RRGGBB
    private String fontColor;
    //fontFamily String 文字字体,如”宋体”
    private String fontFamily;
    //fontSize Int 字体大小 12~128 ,单位 px
    private int fontSize;
    //italic Int 是否斜体 1:是 0:否
    private int italic;
    // bold Int 是否粗体 1:是 0:否
    private int bold;
    //textLine Int 文字线 0:无 1:下划线 2:删除线
    private int textLine;
    //lineHeight Int 行间距,多行时有效
    private int lineHeight;
    //pauseTime Int 停留时间,当字幕为向左向右平移时的停留时间,连续移 动无效 0~255
    private int pauseTime;
    //scrollSpeed Int 字幕滚动速度 0~14
    private int scrollSpeed;
    //siderType Int 滚动方式 0:静止 1:向左移动 2:向左连续移动 3:向右移动 4:向右连续移动
    private int siderType;
    //水平方向 textAlign Int 文本对齐方式 0:左,1:中间 2:右
    private int textAlign;
    //垂直方向文本对齐方式 0: top, 1:center ,2:bottom
    private int vTextAlign;

    public int getvTextAlign() {
        return vTextAlign;
    }

    public void setvTextAlign(int vTextAlign) {
        this.vTextAlign = vTextAlign;
    }

    //text String 字幕内容,不允许为空.,使用 UTF-8 转码后的 base64 编码
    private String text;
    //text String 显示数据是否为 base64 编码 0:否 1:是
    private int base64;

    public int getBase64() {
        return base64;
    }

    public void setBase64(int base64) {
        this.base64 = base64;
    }

    //textShow Int 字幕显示方式 1:单行 0:多行
    private int textShow;
    //颜色特效 0:无 1:水平渐变 2:垂直渐变 3:斜角渐变
    private int colorEffect;
    //zIndex int 层级
    private int zIndex;

    //是否垂直至顶  0居中，1至顶
    private int textTop;


    public int getTextTop() {
        return textTop;
    }

    public void setTextTop(int textTop) {
        this.textTop = textTop;
    }
}
